Victor Berger [Thu, 8 Jul 2021 17:39:30 +0000 (19:39 +0200)]
[PATCH 2/2] Fix build when using GTest-1.11
Some change in GTest 1.11 headers caused a conflict on the name
`Pointer`. Removing the unconditional import of namespace `testing`
in favor of individual imports of the used items fixes it.
cc #205
Gbp-Pq: Name 0002-Fix-build-when-using-GTest-1.11.patch
Victor Berger [Thu, 8 Jul 2021 17:25:23 +0000 (19:25 +0200)]
[PATCH 1/2] cmake: always set GTEST_LIBRARY if it isn't
Previously, the GTEST_LIBRARY would only be set manually set when
GMock is not built from source, causing likage failures on systems
where Gmock is built from source and system-provided GTest does not
set it.
cc #205
Gbp-Pq: Name 0001-cmake-always-set-GTEST_LIBRARY-if-it-isn-t.patch
Victor Berger [Thu, 8 Jul 2021 17:39:30 +0000 (19:39 +0200)]
[PATCH 2/2] Fix build when using GTest-1.11
Some change in GTest 1.11 headers caused a conflict on the name
`Pointer`. Removing the unconditional import of namespace `testing`
in favor of individual imports of the used items fixes it.
cc #205
Gbp-Pq: Name 0002-Fix-build-when-using-GTest-1.11.patch
Victor Berger [Thu, 8 Jul 2021 17:25:23 +0000 (19:25 +0200)]
[PATCH 1/2] cmake: always set GTEST_LIBRARY if it isn't
Previously, the GTEST_LIBRARY would only be set manually set when
GMock is not built from source, causing likage failures on systems
where Gmock is built from source and system-provided GTest does not
set it.
cc #205
Gbp-Pq: Name 0001-cmake-always-set-GTEST_LIBRARY-if-it-isn-t.patch